# coding=utf-8
'''
Created on 2018年4月17日

@author: lijie
'''
from library.page_element.element_base import ElementBase

class BtnProjectList(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//span[@formname='项目信息表']")
        
class CobProjectProcess(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//span[@id='field0009_span']")

class CobSubProcess(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//span[@id='field0010_span']")
        
class LstProjectProcess(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//select[@id='field0009']")
        
class LstSubProcess(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//select[@id='field0010']")
        
class TxtTansaction(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//textarea[@id='field0007']") 
        
class TxtTime(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//input[contains(@validate,'工时')]")
        
class BtnSend(ElementBase):
    def __init__(self,dr):
        self.dr=dr
        ElementBase(self.dr,"//a[@id='sendId']")
        
